package com.freesky.biz.icbc.model;

import com.icbc.api.AbstractIcbcRequest;
import com.icbc.api.BizContent;
import com.icbc.api.internal.util.fastjson.annotation.JSONField;

public class IcbcEquityReceiveRegRequestV1 extends AbstractIcbcRequest<IcbcEquityReceiveRegResponseV1> {

    public Class<IcbcEquityReceiveRegResponseV1> getResponseClass() {
        return IcbcEquityReceiveRegResponseV1.class;
    }

    public boolean isNeedEncrypt()
    {
        return false;
    }

    public String getMethod() {
        return "POST";
    }

    public Class<? extends BizContent> getBizContentClass() {
        return IcbcEquityReceiveRegRequestV1Biz.class;
    }

    public static class IcbcEquityReceiveRegRequestV1Biz implements BizContent {

        @JSONField(name="mti")
        private String mti;

        @JSONField(name="mctcode")
        private String mctcode;

        @JSONField(name="recnum")
        private String recnum;

        @JSONField(name="trantime")
        private String trantime;

        @JSONField(name="type")
        private String type;

        @JSONField(name="body")
        private String body;

        public String getMti() {
            return mti;
        }

        public void setMti(String mti) {
            this.mti = mti;
        }

        public String getMctcode() {
            return mctcode;
        }

        public void setMctcode(String mctcode) {
            this.mctcode = mctcode;
        }

        public String getRecnum() {
            return recnum;
        }

        public void setRecnum(String recnum) {
            this.recnum = recnum;
        }

        public String getTrantime() {
            return trantime;
        }

        public void setTrantime(String trantime) {
            this.trantime = trantime;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getBody() {
            return body;
        }

        public void setBody(String body) {
            this.body = body;
        }
    }

    public static class IcbcEquityReceiveRegRequestV1BizBody{

        @JSONField(name="orderno")
        private String orderno;

        @JSONField(name="ordered")
        private String ordered;

        @JSONField(name="offmobileno")
        private String offmobileno;

        @JSONField(name="ticketcode")
        private String ticketcode;

        @JSONField(name="formamt")
        private String formamt;

        @JSONField(name="offamt")
        private String offamt;

        @JSONField(name="offtime")
        private String offtime;

        @JSONField(name="offtype")
        private String offtype;

        @JSONField(name="banktxsno")
        private String banktxsno;

        public String getOrderno() {
            return orderno;
        }

        public void setOrderno(String orderno) {
            this.orderno = orderno;
        }

        public String getOrdered() {
            return ordered;
        }

        public void setOrdered(String ordered) {
            this.ordered = ordered;
        }

        public String getOffmobileno() {
            return offmobileno;
        }

        public void setOffmobileno(String offmobileno) {
            this.offmobileno = offmobileno;
        }

        public String getTicketcode() {
            return ticketcode;
        }

        public void setTicketcode(String ticketcode) {
            this.ticketcode = ticketcode;
        }

        public String getFormamt() {
            return formamt;
        }

        public void setFormamt(String formamt) {
            this.formamt = formamt;
        }

        public String getOffamt() {
            return offamt;
        }

        public void setOffamt(String offamt) {
            this.offamt = offamt;
        }

        public String getOfftime() {
            return offtime;
        }

        public void setOfftime(String offtime) {
            this.offtime = offtime;
        }

        public String getOfftype() {
            return offtype;
        }

        public void setOfftype(String offtype) {
            this.offtype = offtype;
        }

        public String getBanktxsno() {
            return banktxsno;
        }

        public void setBanktxsno(String banktxsno) {
            this.banktxsno = banktxsno;
        }
    }

}
